package com.learn.fiveday;

/**
 * @author ln
 * @Description: ${todo}
 * @date 2020/12/11
 */
public class Test {
    static final Object lock=new Object();
    static int counter=0;

    public static void main(String[] args){
        synchronized(lock){
            counter++;
        }
    }
}
